package com.xh.bussiness.permission.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;


@Data
@Accessors(chain = true)
@TableName("ts_role_menu")
public class RoleMenu  {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.UUID)
    private String id;

    /**
     * 角色ID
     */
        private String roleId;

    /**
     * 菜单ID
     */
        private String menuId;

    /**
     * 功能编码集合，逗号分隔，为空为无权限，ALL有全部权限
     */
        private String functionCodes;


}
